<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags"%>

<%@page import="com.sentiment.config.Config" %>
<!DOCTYPE html>
<html>
<head>
<title>舆情监测与盗版分析</title>
<meta http-equiv="content-type" charset="utf-8">
<meta name="viewpoint" content="width=device-width,initial-scale=1.0">
<%
String rlPath = Config.relativePath;
	String absPath = Config.projectRootPath;
%>
<link href="<%=rlPath%>/WebPage/css/bootstrap.css" rel="stylesheet">
<link href="<%=rlPath%>/WebPage/css/landing-page.css" rel="stylesheet">
<link href="<%=rlPath%>/WebPage/css/mycss.css" rel="stylesheet">
<link href="<%=rlPath%>/WebPage/css/bootstrap.min.css" rel="stylesheet"
	media="screen">
<link href="<%=rlPath%>/WebPage/css/bootstrap-datetimepicker.min.css"
	rel="stylesheet" media="screen">
<script src="<%=rlPath%>/WebPage/js/jquery-1.11.1.min.js"></script>
<script src="<%=rlPath%>/WebPage/js/bootstrap.js"></script>
<script src="<%=rlPath%>/WebPage/js/Chart.js"></script>

<script src="<%=rlPath%>/WebPage/js/hotInfoSupervision.js"></script>
</head>
<body class="grey-bg">
	<!-- 导航栏 -->
	<nav class="navbar navbar-default navbar-fixed-top topnav"
		role="navigation">
		<div class="container topnav">
			<div class="navbar-header">
				<a class="navbar-brand topnav" href="<%=rlPath%>/index.jsp">舆情监测与盗版分析</a>
			</div>
			<div class="collapse navbar-collapse"
				id="bs-example-navbar-collapse-1">
				<ul class="nav navbar-nav navbar-right">
					<shiro:guest>            
	                <li><a href="<%=rlPath%>/login.jsp">登录</a></li>
					<li><a href="<%=rlPath%>/WebPage/jsp/register.jsp">注册</a></li>
					</shiro:guest>
					<shiro:user>
						<li><a href="<%=rlPath%>/WebManagement/user.jsp"><shiro:principal property="username"/></a></li>
						<li><a href="<%=rlPath%>/logout.jsp">退出</a></li>
					</shiro:user>
					<shiro:hasAnyRoles name="admin">
						<li><a href="<%=rlPath%>/WebManagement/index.jsp">管理员界面</a></li>
					</shiro:hasAnyRoles>
					<li><a href="<%=rlPath%>/index.jsp">首页</a></li>
					<!--下拉菜单-->
					<li><a href="#" class="dropdown-toggle" data-toggle="dropdown"
						id="dropMenu2">舆情监测<span class="caret"></span></a>
						<ul class="dropdown-menu" role="menu" aria-labelledby="dropMenu2">
							<li role="presentation"><a role="menuitem"
								href="<%=rlPath%>/WebPage/jsp/hotInfoSupervision.jsp">热点信息监督</a></li>
							<li role="presentation"><a role="menuitem"
								href="<%=rlPath%>/WebPage/jsp/correlationInfo.jsp">关联信息查询</a></li>
						</ul></li>
					<li><a href="#" class="dropdown-toggle" data-toggle="dropdown"
						id="dropMenu3">盗版监测<span class="caret"></span></a>
						<ul class="dropdown-menu" role="menu" aria-labelledby="dropMenu3">
							<li role="presentation"><a role="menuitem"
								href="<%=rlPath%>/WebPage/jsp/plagiarismText.jsp">文本检测</a></li>
							<li role="presentation"><a role="menuitem"
								href="<%=rlPath%>/WebPage/jsp/plagiarismUrl.jsp">URL检测</a></li>

						</ul></li>
					<li><a href="" class="dropdown-toggle" data-toggle="dropdown"
						id="dropMenu4">舆情报告<span class="caret"></span></a>
						<ul class="dropdown-menu" role="menu" aria-labelledby="dropMenu4">
							<li role="presentation"><a role="menuitem"
								href="<%=rlPath%>/WebPage/jsp/dailySentiment.jsp">每日舆情报告</a></li>
							<li role="presentation"><a role="menuitem"
								href="<%=rlPath%>/WebPage/jsp/hotSentiment.jsp">热点舆情报告</a></li>
						</ul></li>
				</ul>
			</div>
		</div>
	</nav>
	<div class="nottop">
	<ol class="breadcrumb">
	  <li><a href="<%=rlPath%>/index.jsp">主页</a></li>
	  <li class="active">热点信息监督</li>
	</ol>
	</div>
	<div class="hotinfo-header">
		
		<div class="container">
			<div class="row">
				<div class="col-lg-12">
					<div class="intro-message"
						style="padding-top: 0; padding-bottom: 0">
						<h2>舆情监测-热点信息监督</h2>
						<!--<h3>基于多粒度的偏好的网络文本抄袭检测平台</h3>-->
						<hr class="intro-divider">
						<!--输入参数-->
					</div>
				</div>
			</div>

		</div>
		<!--表单开始-->
		<div>
			<!--时间选择
        <div class="container">
            <form action="" class="form-horizontal"  role="form">
                <fieldset>
                    <span>请选择检索时间段:</span>
                    <br/><br/>
                    <div class="form-group">
                        <label for="dtp_input2" class="col-md-4 control-label">开始时间</label>
                        <div class="input-group date form_date col-md-5" data-date="" data-date-format="dd MM yyyy" data-link-field="dtp_input2" data-link-format="yyyy-mm-dd">
                            <input class="form-control" size="16" type="text" value="" readonly>
                            <span class="input-group-addon"><span class="glyphicon glyphicon-remove"></span></span>
                            <span class="input-group-addon"><span class="glyphicon glyphicon-calendar"></span></span>
                        </div>
                        <input type="hidden" id="dtp_input2" value="" /><br/>
                    </div>
                    <div class="form-group">
                        <label for="dtp_input2" class="col-md-4 control-label">结束时间</label>
                        <div class="input-group date form_date col-md-5" data-date="" data-date-format="dd MM yyyy" data-link-field="dtp_input2" data-link-format="yyyy-mm-dd">
                            <input class="form-control" size="16" type="text" value="" readonly>
                            <span class="input-group-addon"><span class="glyphicon glyphicon-remove"></span></span>
                            <span class="input-group-addon"><span class="glyphicon glyphicon-calendar"></span></span>
                        </div>
                        <input type="hidden" id="dtp_input2" value="" /><br/>
                    </div>
                </fieldset>
            </form>
        </div>

        <script type="text/javascript" src="../js/bootstrap-datetimepicker.js" charset="UTF-8"></script>
        <script type="text/javascript" src="../js/bootstrap-datetimepicker.fr.js" charset="UTF-8"></script>
        <script type="text/javascript">
            $('.form_datetime').datetimepicker({
                //language:  'fr',
                weekStart: 1,
                todayBtn:  1,
                autoclose: 1,
                todayHighlight: 1,
                startView: 2,
                forceParse: 0,
                showMeridian: 1
            });
            $('.form_date').datetimepicker({
                language:  'fr',
                weekStart: 1,
                todayBtn:  1,
                autoclose: 1,
                todayHighlight: 1,
                startView: 2,
                minView: 2,
                forceParse: 0
            });
            $('.form_time').datetimepicker({
                language:  'fr',
                weekStart: 1,
                todayBtn:  1,
                autoclose: 1,
                todayHighlight: 1,
                startView: 1,
                minView: 0,
                maxView: 1,
                forceParse: 0
            });
        </script>-->


			<!--来源选择
        <div class="checkbox">
            <span>请选择来源：</span>
            <br>
            <label class="mybox">
                <input type="checkbox" name="choose">微博
            </label>
            <label class="mybox">
                <input type="checkbox" name="choose">网易
            </label>
            <label class="mybox">
                <input type="checkbox" name="choose">天涯
            </label>
            <label class="mybox">
                <input type="checkbox" name="choose">新华网
            </label>
            <label class="mybox">
                <input type="checkbox" name="choose">人民网
            </label>
            <label class="mybox">
                <input type="checkbox" name="choose">凤凰网
            </label>
            <label class="mybox">
                <input type="checkbox" name="choose">光明网
            </label>
            <label class="mybox">
                <input type="checkbox" name="choose">央视网
            </label>
            <input type="radio" id="choose_all">全选
        </div>
        <br>-->
			<!--关键词分类
        <div class="checkbox1" style="">
            <span>关键词分类：</span>
            <br>
            <label class="mybox">
                <input type="checkbox" name="choose1" checked>社会
            </label>
            <label class="mybox">
                <input type="checkbox" name="choose1">军事
            </label>
            <label class="mybox">
                <input type="checkbox" name="choose1">股票
            </label>
            <label class="mybox">
                <input type="checkbox" name="choose1">中医
            </label>
            <label class="mybox">
                <input type="checkbox" name="choose1">基金
            </label>
            <input type="radio" id="choose_all1">全选
        </div>-->

			<br>
			<!--参数输入-->
			<div>
				<label class="mybox">关键字搜索：</label> <input type="text"
					class="myinputarea" id="keywordInput" placeholder="关键字搜索" name="wd">
				<button id="searchbtn" type="submit"
					class="btn btn-default btn-lg mybox">
					搜索 <span class="glyphicon glyphicon-search" aria-hidden="true"></span>
				</button>

			</div>

		</div>


	</div>

	<!-- Footer -->
	<footer>
		<div class="container">
			<div class="row">
				<div class="col-lg-12">
					<p class="copyright text-muted small">Copyright@四川雷克斯安防科技有限公司，电话TEL:(86-28)
						6555 4013 FAX:（86-28）6662 7439地址：成都市武侯区神仙树西路3号2）</p>
				</div>
			</div>
		</div>
	</footer>
</body>

</html>

</html>
<!-- <script>
    $(document).ready(function(){
        $("#btn").click(function(){
            location.href="sentimentList.jsp";
        })
    })
</script> -->
<script>
	var checkbox = document.getElementsByTagName("input");
	var choose_all = document.getElementById('choose_all');
	var a = 1;
	choose_all.addEventListener('click', function() {
		if (a == 1) {
			for (var i = 0; i < checkbox.length; i++) {
				if (checkbox[i].name == 'choose') {
					checkbox[i].checked = 1;
				}
			}
			a = 0;
		} else {
			for (var i = 0; i < checkbox.length; i++) {
				if (checkbox[i].name == 'choose') {
					checkbox[i].checked = 0;
				}
			}
			a = 1;
		}

	});
</script>
<script>
	var checkbox1 = document.getElementsByTagName("input");
	var choose_all1 = document.getElementById('choose_all1');
	var b = 1;
	choose_all1.addEventListener('click', function() {
		if (b == 1) {
			for (var i = 0; i < checkbox1.length; i++) {
				if (checkbox1[i].name == 'choose1') {
					checkbox1[i].checked = 1;
				}
			}
			b = 0;
		} else {
			for (var i = 0; i < checkbox1.length; i++) {
				if (checkbox1[i].name == 'choose1') {
					checkbox1[i].checked = 0;
				}
			}
			b = 1;
		}

	});
</script>